﻿
using System.Collections.Generic;
using PS.Engine.GameComponents;

namespace PS.Engine.DataTypes
{
    internal class WaypointList : Queue<Waypoint>
    {
        internal Waypoint[] GetWaypointArray()
        {
            Waypoint[] waypoints = new Waypoint[this.Count];

            this.CopyTo(waypoints, 0);

            return waypoints;
        }
    }
}
